package server;

import java.awt.Button;
import java.awt.Frame;
import java.awt.event.ActionListener;

public class View {

	Button button;
	public View() {
		Frame frame = new Frame();
		button = new Button("Detect new pattern");
		frame.add(button);
		frame.setSize(200, 100);
		frame.setVisible(true);
	}
	
	public void addListener(ActionListener listener) {
		button.addActionListener(listener);
	}
}
